set(WIZNET_LIB_SRC 
        ../../libraries/Ethernet/W5100S/w5100s.c
        ../../libraries/Ethernet/socket.c
        ../../libraries/Ethernet/wizchip_conf.c
       
        )
include_directories(../../libraries/Ethernet
                ../../libraries/Ethernet/W5100S
              
)

add_executable(network_install
        network_install.c
        ${WIZNET_LIB_SRC}
        )

# pull in common dependencies and additional spi hardware support
target_link_libraries(network_install pico_stdlib hardware_spi)

pico_enable_stdio_usb(network_install 1)
pico_enable_stdio_uart(network_install 0)
# create map/bin/hex file etc.
pico_add_extra_outputs(network_install)

# add url via pico_set_program_url
example_auto_set_url(network_install)
